﻿#ifndef SENSEPRO_H
#define SENSEPRO_H
#include <QThread>
#include<main/Inc/Phoenix.h>
#include<QThread>
#include<QMutex>
class sensePro : public QThread
{
    Q_OBJECT
public:
    sensePro();
    void setParams(shared_ptr<Phoenix> p);
protected:
    void run() Q_DECL_OVERRIDE;
    void stopThread();

private:
    bool _stop;
    QMutex _mutex;
    shared_ptr<Phoenix> _phoenix;
};

#endif // SENSEPRO_H
